<style type="text/css">
    .modal-lg {
        width: 60%;
    }
    .thWidthAndHeight{width:100px; height:20px;}
</style>
<div class="modal-header width90">
    <h4 class="modal-title">添加设备负责人</h4>
</div>

<div class="modal-body width90">
    <div class="container-fluid form-horizontal ">
        <div class="panel panel-default">
            <!--设备负责人姓名-->
                <div class="form-group">
                    <label class="col-xs-2 control-label">登录名</label>
                    <div class="col-xs-6">
                        <p class="form-control-static text-danger">{{equipmentperson.loginname}}</p>
                    </div>
                </div>
                <!--<div class="form-group">
                    <label class="col-xs-2 control-label">密码</label>
                    <div class="col-xs-6">
                        <p class="form-control-static text-danger">默认'000000'请尽快修改</p>
                    </div>
                </div>-->
                <div class="form-group">
                <label class="col-xs-2 control-label">姓名</label>
                <div class="col-xs-6">
                    <input type="text" 
                    class="form-control" placeholder="必填"
                    ng-model="equipmentperson.name"
                    >
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-2 control-label">电话</label>
                <div class="col-xs-6">
                    <input type="text" class="form-control"
                    ng-model="equipmentperson.mobile"
                    >
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-2 control-label">备注</label>
                <div class="col-xs-6">
                    <input type="text" class="form-control"
                    ng-model="equipmentperson.remark"
                    >
                </div>
            </div>
            <!--<div class="form-group">
                <label class="col-xs-2 control-label">角色</label>
                <div class="col-xs-6 ">
                    <div class="checkbox" ng-repeat="obj in objs">
                      <label>
                        <input type="checkbox" name="role" value="{{obj.id}}"
                        ng-click="selection($event,obj)"
                        >
                        {{obj.name}}
                      </label>
                    </div>
                </div>
            </div>   -->
        </div>
    </div>
</div>
<div class="modal-footer width90">   
     <button class="btn m-b-xs w-xs btn-success btn-rounded" type="button" ng-click="ok()" style="margin-top: 6px">保存</button> 
     <button class="btn m-b-xs w-xs btn-success btn-rounded" type="button" ng-click="cancel()" >关闭</button>
</div>